/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package vista.admin.listeners;

import modelo.dominio.Usuario;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JOptionPane;

/**
 *
 * @author Felipe
 */
public class Usuario_ActionListener implements ActionListener{

    private Usuario usuario;
    private String accion;

   public Usuario_ActionListener(Usuario usu, String acc){
       this.usuario = usu;
       this.accion = acc;
    }

    @Override
    public void actionPerformed(ActionEvent e) {
       JOptionPane.showMessageDialog(null, this.accion+" "+this.usuario.getClass().getSimpleName());
    }

}
